n = int(input())
nums = [int(x) for x in input().split(" ")]
maxCount = 1
count = 1;
for i in range(n - 1):
    if nums[i + 1] > nums[i]:
        count += 1
    else:
        count = 1
    maxCount = max(maxCount, count)
print(maxCount)